package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.maindata.domain.LineProcessItem;
import com.qijian.maindata.domain.LineProcessTime;
import com.qijian.maindata.domain.LineProcessWork;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class BomDetailInfoVo {

    @JsonSerialize(using= ToStringSerializer.class)
    private Long detailId;

    private String detailCode;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long lineId;

    private String lineCode;

    private Integer quantity;

    private Integer totalQuantity;

    private String itemName;

    private String itemCode;

    private String drawingNo;

    private String partNo;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long processId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pid;

    private String processCode;
    private String processName;
    private String processTypeName;
    private BigDecimal waitTime;
    private BigDecimal workTime;
    private BigDecimal workCost;

    private String planSystem;
    private String remark;
    private List<LineProcessWork> processWorkList;
    private List<LineProcessTime> processTimeList;
    private List<LineProcessItem> processItemList;
}
